/*
** 1004.c
** 
** Made by (lugia)
** Login   <lugia@localhost>
** 
** Started on  Fri Jan  4 15:51:52 2008 lugia
** Last update Sun May 12 01:17:25 2002 Speed Blue
*/

#include <stdio.h>
#include <math.h>

int main(int argc, char* argv[])
{
     double month_income[12];
     double total = 0.0;
     int i;
          
     for (i=0; i<12; i++){
	  scanf("%lf", &month_income[i]);
	  total += month_income[i];
     }

     printf("$%-20.2f\n", round(total*100)/1200);
     
     return 0;
}
